package com.ruoyi.wms.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 仓库对象 wms_warehouse
 *
 * @author ruoyi
 * @date 2025-10-20
 */
@Data
@ToString
@ApiModel(value = "仓库对象", description = "仓库对象")
public class Warehouse {
    private static final long serialVersionUID = 1L;

    private String id;

    /** 编号仓库编码 */
    @Excel(name = "编号仓库编码")
    private String warehouseCode;

    /** 名称 */
    @Excel(name = "名称")
    private String warehouseName;

    /** 属性 */
    @Excel(name = "属性")
    private String nature;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 位置信息 */
    @Excel(name = "位置信息")
    private String addr;

    /** 排序 */
    @Excel(name = "排序")
    private Long orderNum;

    /** 录入人 */
    @Excel(name = "录入人")
    private String createUser;

    /** 录入日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "录入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String updateDate;

    /** 数据来源 */
    @Excel(name = "数据来源")
    private String dataSource;

    @ExcelProperty("备注")
    @ApiModelProperty(value = "备注")
    private String remark;

}
